
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.PUB
{

	public partial class PUB_CY_STOCKPILEModel:Virtual_PUB_CY_STOCKPILEModel
	{
		
	}
	public class Virtual_PUB_CY_STOCKPILEModel
	{
		[Display(Name = "堆层编号")]
		public virtual string STOCKPILE_ID { get; set; }
		[Display(Name = "堆层名称"),Required]
		public virtual string STOCKPILE_NAME { get; set; }
		[Display(Name = "煤场分区编号"),Required]
		public virtual string PARTITION_ID { get; set; }
		[Display(Name = "X轴起点"),Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "X轴起点必须大于等于0.")]
		public virtual decimal BEGIN_LENGTH { get; set; }
		[Display(Name = "X轴终点"), Required,RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "X轴终点必须大于等于0.")]
		public virtual decimal END_LENGTH { get; set; }
		[Display(Name = "Y轴起点"), Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "Y轴起点必须大于等于0.")]
		public virtual decimal BEGIN_WIDTH { get; set; }
		[Display(Name = "Y轴终点"), Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "Y轴终点必须大于等于0.")]
		public virtual decimal END_WIDTH { get; set; }
		[Display(Name = "Z轴起点"), Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "Z轴起点必须大于等于0.")]
		public virtual decimal BEGIN_HEIGHT { get; set; }
		[Display(Name = "Z轴终点"), Required, RegularExpression(@"^[0-9]+(.[0-9]{1,3})?$", ErrorMessage = "Z轴终点起始长度必须大于等于0.")]
		public virtual decimal END_HEIGHT { get; set; }
        

    }
}
